package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.heima.wemedia.receive.pojos.Comment;
import com.heima.wemedia.receive.vo.CommentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.Date;

@Mapper
public interface WmCommentMapper extends BaseMapper<Comment> {
    IPage<Comment> selectCommentList(Page<CommentVo> commentVoPage, @Param("beginTime") LocalDateTime beginTime, @Param("endTime") LocalDateTime endTime, @Param("userId") Integer userId);
}
